package com.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "报损明细")
public class ReportLossesDetail {

    @ApiModelProperty(value = "报损编码")
    private String breakageCode;

    @ApiModelProperty(value = "报损状态")
    private Integer type;

    @ApiModelProperty(value="仓库名")
    private String store;

    @ApiModelProperty(value = "货位")
    private String locationName;

    @ApiModelProperty(value="物品编码")
    private String mcode;

    @ApiModelProperty(value = "物品名称")
    private String name;

    @ApiModelProperty(value = "物品规格")
    private String spec;

    @ApiModelProperty(value = "有效期")
    private LocalDate validDate;

    @ApiModelProperty(value = "物品图片")
    private String piculr;

    @ApiModelProperty(value = "报损原因")
    private String reason;

    @ApiModelProperty(value ="审核意见")
    private String auditOpinion;

    @ApiModelProperty(value = "审核人")
    private String auditUser;

    @ApiModelProperty(value = "审核时间")
    private LocalDateTime auditDate;

    @ApiModelProperty(value = "处理方式")
    private String processWay;

    @ApiModelProperty(value = "备注")
    private String note;

}
